package com.jg.xmlSchema2JsonSchema.xsd;

import org.w3c.dom.Element;

/**
 * @author czg
 */
public class XsMaxLength {
    // 节点描述
    private Element element;
    private String value;

    public XsMaxLength(Element element) {
        this.element = element;
        getData();
    }

    private void getData() {
        value = element.getAttribute("value");
    }

    public String getValue() {
        return value;
    }
}
